package com.eorchis.module.classuser.domain;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.eorchis.module.classuser.ui.commond.ClassUserQueryCommond;
import com.eorchis.utils.utils.PropertyUtil;

/**   
* @Title: QueryClassUserBean 
* @Description: 查询已选人员列表和未选人员列表返回的实体  
* @author NingSS 
* @date 2013-12-10
* @version V1.0  
*  
*/ 

@SuppressWarnings("unused")
public class QueryClassUserBean {
	private String classUserId;//培训班用户关系ID
	private String classId;//培训班ID
	private String userName;//学员姓名
	private String userId;//学员id
	private String loginID;//登陆id
	private String sex;//性别
	private Date birthday;//出生日期
	private String birthdayStr;//出生日期字符串
	private String deptId;//单位id
	private String depName;//单位名称
	private String position;//职位
	private String rank;//职级
	private Integer auditingState;//审核状态
	private Double trainingHours;//培训学时
	private Integer reportedHoursState;//上报学时状态
	private Integer auditingHoursState;//审核学时状态
	private Date auditingStateDate;//审核时间
	private String auditingStateDateStr;//审核时间字符串
	private Double gjSyncTrainingHours;//干教同步学时
	private Integer gjSyncHoursState;//干教同步学时状态
	private Integer depUserNum;//班级已报人数
	private Double beforeDutyTrainingHours;//任职前学时(培训档案)
	private BigDecimal beforeDutyTrainingHoursBig;
	private Double afterDutyTrainingHours;//任职后学时(培训档案)
	private BigDecimal afterDutyTrainingHoursBig;
	private Double hours;//任职前获得的总学时
	private BigDecimal hoursBig;
	private String orderNum;//查询结果的默认排序字段
	private BigInteger zqbStateBig;
	private Integer zqbState;//参加过中青班的数量 by Max at 2014-06-26
	private BigDecimal allStudyHoursBig;//任前，任后总学时
	private Double allStudyHours;//任前，任后总学时
	private String rankcode;
	private Integer attendanceState;//考勤情况 1全勤 2 缺勤
	private Integer signUpType;//报名方式  1：个人选学  2： 单位指定
	private Integer ROWNUM_;
	private String className;//班级名称
	private String classNum;//班级编号
	private Integer classCount;//班级数量
	private String trainingDeptName;//举办院校		（培训机构）
	private String treePath; //树路径
	private String ministrieName;//承办部委名称
	
	private String sponsorID;//主办单位
	private Date beginDate;//开班时间  
	private Date enterBeginTime;//开班时间  
	private Date endDate;//结班时间
	private String trainingAddress;//培训地点
	private String sponsorName;//主办单位
	private String beginDateStr;//开班时间
	private String endDateStr;//接班时间
	private String classDescription;//培训机构
	private Date latestOperateDate;//最后操作时间
	private Date lastOperateTime;//最后操作时间
	
	
	
	//委托部委办班在线报名系统
	private Integer age;//年龄
	private String phone;//手机电话
	private String mobileTelephone;//手机号码
	private String folkName;//民族
	private String remark;//备注
	private String rejectReason;//撤销报名驳回原因
	
	/*GUOLEI 20160129*/
	private String administrativeLevel;//级别（选）
	private String dutyRemark;//单位及职务
	private Double trainingHour;//学制（天）
	
	//add RongSL
	private String appraise ;//学员评价
	private Integer appraiseStatus;//评价状态
	
	private BigInteger UserState;//考勤状态
	private String depParentName;//父级名字
	
	private String sexCode;//性别Code
	private String rankCode;//职级Code
	private String folkCode;//民族Code
	private String auditingDateStr;//审核状态
	private String createDateStr;//报名时间
	
	private String CUSTOMFIELD6;//备用字段		//部门排序
	private BigDecimal CUSTOMFIELD7;//备用字段		//职级排序
	private BigDecimal CUSTOMFIELD8;//备用字段		//审核状态
	private BigDecimal CUSTOMFIELD9;//备用字段		//性别
	
	private String examinationRemark;//考核备注
	private String examinationResult;//考核结果
	private Integer lockState;//考核管理锁定状态
	
	private String fileName;//文件名称
	private String fileSize;//文件大小
	private String classType;//班级类型
	private String attachmentID;//附件ID
	private Date uploadDate;//附件上传时间
	
	private String depnameOne;//一级单位
	private String depnameTwo;//二级单位
	
	private String questionnaireId;//问卷ID
	
	private String dutyLevelCode;//职级 addby RongSL
	private String dutyLevelName;//职级 addby RongSL
	private Double zxHour;//在线学时
	private Double zxZsHour;//在线折算学时
	private Double ztbHour;//专题班学时
	private Double zhutbHour;//主体班学时
	private Double zhongydxHour;//中央调训学时
	private Double jwpxHour;//境外培训学时
	private Double qitHour;//其他学时
	private String hourYear;//年份
	private int isStandard;//是否达标  1:已达标	2:未达标
	private Integer shiguan;//市管
	private String doubtful;//存疑
	private Integer gbState;//导入状态
	private String paperNum;//身份证
	private String sexName;//性别
	private String officeholdingDateStr;
	private Integer isRepeatName;//是否重名
	
	public String getTrainingAddress() {
		return trainingAddress;
	}

	public void setTrainingAddress(String trainingAddress) {
		this.trainingAddress = trainingAddress;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getSponsorID() {
		return sponsorID;
	}

	public void setSponsorID(String sponsorID) {
		this.sponsorID = sponsorID;
	}
	
	public String getDepParentName() {
		return depParentName;
	}

	public void setDepParentName(String depParentName) {
		this.depParentName = depParentName;
	}


	public String getAppraise() {
		return appraise;
	}

	public void setAppraise(String appraise) {
		this.appraise = appraise;
	}

	public Integer getAppraiseStatus() {
		if(!PropertyUtil.objectNotEmpty(appraiseStatus)){
			appraiseStatus=ClassUserQueryCommond.APPRAISE_STATUS_NO;
		}
		return appraiseStatus;
	}

	public void setAppraiseStatus(Integer appraiseStatus) {
		this.appraiseStatus = appraiseStatus;
	}

	public String getAdministrativeLevel() {
		return administrativeLevel;
	}

	public void setAdministrativeLevel(String administrativeLevel) {
		this.administrativeLevel = administrativeLevel;
	}


	public String getDutyRemark() {
		return dutyRemark;
	}


	public void setDutyRemark(String dutyRemark) {
		this.dutyRemark = dutyRemark;
	}


	public Double getTrainingHour() {
		return trainingHour;
	}


	public void setTrainingHour(Double trainingHour) {
		this.trainingHour = trainingHour;
	}


	public void setROWNUM_(Integer rOWNUM_) {
		ROWNUM_ = rOWNUM_;
	}
	
	public Integer getSignUpType() {
		return signUpType;
	}
	public void setSignUpType(Integer signUpType) {
		this.signUpType = signUpType;
	}
	public Integer getDepUserNum() {
		return depUserNum;
	}
	public void setDepUserNum(Integer depUserNum) {
		this.depUserNum = depUserNum;
	}
	public String getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}
	public Double getHours() {
		return hours;
	}
	public void setHours(Double hours) {
		this.hours = hours;
	}
	public BigDecimal getHoursBig() {
		return hoursBig;
	}
	public void setHoursBig(BigDecimal hoursBig) {
		if(PropertyUtil.objectNotEmpty(hoursBig))
		{
			this.setHours(hoursBig.doubleValue());
		}
		this.hoursBig = hoursBig;
	}
	
	public Double getBeforeDutyTrainingHours() {
		return beforeDutyTrainingHours;
	}
	public void setBeforeDutyTrainingHours(Double beforeDutyTrainingHours) {
		this.beforeDutyTrainingHours = beforeDutyTrainingHours;
	}
	public Double getAfterDutyTrainingHours() {
		return afterDutyTrainingHours;
	}
	public void setAfterDutyTrainingHours(Double afterDutyTrainingHours) {
		this.afterDutyTrainingHours = afterDutyTrainingHours;
	}
	public BigDecimal getBeforeDutyTrainingHoursBig() {
		return beforeDutyTrainingHoursBig;
	}
	public void setBeforeDutyTrainingHoursBig(BigDecimal beforeDutyTrainingHoursBig) {
		if(PropertyUtil.objectNotEmpty(beforeDutyTrainingHoursBig))
		{
			this.setBeforeDutyTrainingHours(beforeDutyTrainingHoursBig.doubleValue());
		}
		this.beforeDutyTrainingHoursBig = beforeDutyTrainingHoursBig;
	}
	public BigDecimal getAfterDutyTrainingHoursBig() {
		return afterDutyTrainingHoursBig;
	}
	public void setAfterDutyTrainingHoursBig(BigDecimal afterDutyTrainingHoursBig) {
		if(PropertyUtil.objectNotEmpty(afterDutyTrainingHoursBig))
		{
			this.setAfterDutyTrainingHours(afterDutyTrainingHoursBig.doubleValue());
		}
		this.afterDutyTrainingHoursBig = afterDutyTrainingHoursBig;
	}
	
	public Date getAuditingStateDate() {
		return auditingStateDate;
	}
	public void setAuditingStateDate(Date auditingStateDate) {
		this.auditingStateDate = auditingStateDate;
	}
	public String getAuditingStateDateStr() {
		if(PropertyUtil.objectNotEmpty(auditingStateDate)){
			SimpleDateFormat sd = new SimpleDateFormat("yyyy-MM-dd HH:mm");
			String auditingStateDateStr = sd.format(auditingStateDate); 
			return auditingStateDateStr;
		}
        return "";
	}
	public void setAuditingStateDateStr(String auditingStateDateStr) {
		this.auditingStateDateStr = auditingStateDateStr;
	}
	public String getBirthdayStr() { 
		if(PropertyUtil.objectNotEmpty(birthday)){
			SimpleDateFormat sd = new SimpleDateFormat("yyyy-MM");
			String birthdayStr = sd.format(birthday); 
			return birthdayStr;
		}
        return "";
	}
	public void setBirthdayStr(String birthdayStr) {
		this.birthdayStr = birthdayStr;
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(Object deptId) {
		this.deptId = deptId.toString();
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(Object userId) {
		this.userId = userId.toString();
	}
	public String getLoginID() {
		return loginID;
	}
	public void setLoginID(Object loginID) {
		this.loginID = loginID.toString();
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getDepName() {
		return depName;
	}
	public void setDepName(String depName) {
		this.depName = depName;
	}
	public String getRank() {
		return rank;
	}
	public void setRank(String rank) {
		this.rank = rank;
	}
	public Integer getAuditingState() {
		return auditingState;
	}
	public void setAuditingState(Integer auditingState) {
		this.auditingState = auditingState;
	}
	public Double getTrainingHours() {
		return trainingHours;
	}
	public void setTrainingHours(Double trainingHours) {
		this.trainingHours = trainingHours;
	}
	public String getClassUserId() {
		return classUserId;
	}
	public void setClassUserId(String classUserId) {
		this.classUserId = classUserId;
	}
	public String getClassId() {
		return classId;
	}
	public void setClassId(String classId) {
		this.classId = classId;
	}
	public Integer getReportedHoursState() {
		return reportedHoursState;
	}
	public void setReportedHoursState(Integer reportedHoursState) {
		this.reportedHoursState = reportedHoursState;
	}
	public Integer getAuditingHoursState() {
		return auditingHoursState;
	}
	public void setAuditingHoursState(Integer auditingHoursState) {
		this.auditingHoursState = auditingHoursState;
	}
	public Double getGjSyncTrainingHours() {
		return gjSyncTrainingHours;
	}
	public void setGjSyncTrainingHours(Double gjSyncTrainingHours) {
		this.gjSyncTrainingHours = gjSyncTrainingHours;
	}
	public Integer getGjSyncHoursState() {
		return gjSyncHoursState;
	}
	public void setGjSyncHoursState(Integer gjSyncHoursState) {
		this.gjSyncHoursState = gjSyncHoursState;
	}
	public Integer getZqbState() {
		return zqbState;
	}
	public void setZqbState(Integer zqbState) {
		this.zqbState = zqbState;
	}
	public BigDecimal getAllStudyHoursBig() {
		return allStudyHoursBig;
	}
	public void setAllStudyHoursBig(BigDecimal allStudyHoursBig) {
		
		if(PropertyUtil.objectNotEmpty(allStudyHoursBig))
		{
			this.setAllStudyHours(allStudyHoursBig.doubleValue());
		}
		this.allStudyHoursBig = allStudyHoursBig;
	}
	public Double getAllStudyHours() {
		return allStudyHours;
	}
	public void setAllStudyHours(Double allStudyHours) {
		this.allStudyHours = allStudyHours;
	}
	public BigInteger getZqbStateBig() {
		return zqbStateBig;
	}
	public void setZqbStateBig(BigInteger zqbStateBig) {
		
		
		if(PropertyUtil.objectNotEmpty(zqbStateBig))
		{
			this.setZqbState(zqbStateBig.intValue());
		}
		this.zqbStateBig = zqbStateBig;
	}
	public String getRankcode() {
		return rankcode;
	}
	public Integer getAttendanceState() {
		return attendanceState;
	}
	public void setAttendanceState(Integer attendanceState) {
		this.attendanceState = attendanceState;
	}


	public String getClassName() {
		return className;
	}


	public void setClassName(String className) {
		this.className = className;
	}


	public String getClassNum() {
		return classNum;
	}


	public void setClassNum(String classNum) {
		this.classNum = classNum;
	}


	public String getTrainingDeptName() {
		return trainingDeptName;
	}


	public void setTrainingDeptName(String trainingDeptName) {
		this.trainingDeptName = trainingDeptName;
	}


	public String getTreePath() {
		return treePath;
	}


	public void setTreePath(String treePath) {
		this.treePath = treePath;
	}


	public String getMinistrieName() {
		return ministrieName;
	}


	public void setMinistrieName(String ministrieName) {
		this.ministrieName = ministrieName;
	}


	public Integer getAge() {
		SimpleDateFormat format_y = new SimpleDateFormat("yyyy");
		if(PropertyUtil.objectNotEmpty(birthday)) {
			String brithYear=format_y.format(birthday);
			String nowYear=format_y.format(new Date());
			age=Integer.parseInt(nowYear)-Integer.parseInt(brithYear);
		}else {
			age=0;
		}
		return age;
	}


	public void setAge(Integer age) {
		this.age = age;
	}


	public String getPhone() {
		return phone;
	}


	public void setPhone(String phone) {
		this.phone = phone;
	}


	public String getFolkName() {
		return folkName;
	}


	public void setFolkName(String folkName) {
		this.folkName = folkName;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public String getRejectReason() {
		return rejectReason;
	}


	public void setRejectReason(String rejectReason) {
		this.rejectReason = rejectReason;
	}


	public BigInteger getUserState() {
		return UserState;
	}


	public void setUserState(BigInteger userState) {
		UserState = userState;
	}

	public String getSponsorName() {
		return sponsorName;
	}

	public void setSponsorName(String sponsorName) {
		this.sponsorName = sponsorName;
	}

	public String getBeginDateStr() {
		return beginDateStr;
	}

	public void setBeginDateStr(String beginDateStr) {
		this.beginDateStr = beginDateStr;
	}

	public String getEndDateStr() {
		return endDateStr;
	}

	public void setEndDateStr(String endDateStr) {
		this.endDateStr = endDateStr;
	}

	public String getClassDescription() {
		return classDescription;
	}

	public void setClassDescription(String classDescription) {
		this.classDescription = classDescription;
	}

	public String getSexCode() {
		return sexCode;
	}

	public void setSexCode(Object sexCode) {
		this.sexCode = sexCode.toString();
	}

	public String getRankCode() {
		return rankCode;
	}

	public void setRankCode(Object rankCode) {
		this.rankCode = rankCode.toString();
	}

	public String getFolkCode() {
		return folkCode;
	}

	public void setFolkCode(Object folkCode) {
		this.folkCode = folkCode.toString();
	}

	public String getAuditingDateStr() {
		return auditingDateStr;
	}

	public void setAuditingDateStr(String auditingDateStr) {
		this.auditingDateStr = auditingDateStr;
	}

	public String getCreateDateStr() {
		return createDateStr;
	}

	public void setCreateDateStr(String createDateStr) {
		this.createDateStr = createDateStr;
	}

	public String getCUSTOMFIELD6() {
		return CUSTOMFIELD6;
	}

	public void setCUSTOMFIELD6(Object cUSTOMFIELD6) {
		if(PropertyUtil.objectNotEmpty(cUSTOMFIELD6)){
			CUSTOMFIELD6 = cUSTOMFIELD6.toString();
		}
	}

	public BigDecimal getCUSTOMFIELD7() {
		return CUSTOMFIELD7;
	}

	public void setCUSTOMFIELD7(BigDecimal cUSTOMFIELD7) {
		CUSTOMFIELD7 = cUSTOMFIELD7;
	}

	public BigDecimal getCUSTOMFIELD8() {
		return CUSTOMFIELD8;
	}

	public void setCUSTOMFIELD8(BigDecimal cUSTOMFIELD8) {
		CUSTOMFIELD8 = cUSTOMFIELD8;
	}

	public BigDecimal getCUSTOMFIELD9() {
		return CUSTOMFIELD9;
	}

	public void setCUSTOMFIELD9(BigDecimal cUSTOMFIELD9) {
		CUSTOMFIELD9 = cUSTOMFIELD9;
	}

	public String getExaminationRemark() {
		return examinationRemark;
	}

	public void setExaminationRemark(String examinationRemark) {
		this.examinationRemark = examinationRemark;
	}

	public Integer getLockState() {
		return lockState;
	}

	public void setLockState(Object lockState) {
		this.lockState = Integer.valueOf(lockState.toString());
	}

	public String getExaminationResult() {
		return examinationResult;
	}

	public void setExaminationResult(String examinationResult) {
		this.examinationResult = examinationResult;
	}

	public String getMobileTelephone() {
		return mobileTelephone;
	}

	public void setMobileTelephone(String mobileTelephone) {
		this.mobileTelephone = mobileTelephone;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getClassType() {
		return classType;
	}

	public void setClassType(String classType) {
		this.classType = classType;
	}

	public String getAttachmentID() {
		return attachmentID;
	}

	public void setAttachmentID(String attachmentID) {
		this.attachmentID = attachmentID;
	}

	public String getUploadDate() {
		if(PropertyUtil.objectNotEmpty(this.uploadDate)){
			return new SimpleDateFormat("yyyy-MM-dd").format(uploadDate);
		}
		return "";
	}

	public void setUploadDate(Date uploadDate) {
		this.uploadDate = uploadDate;
	}

	public String getDepnameOne() {
		return depnameOne;
	}

	public void setDepnameOne(String depnameOne) {
		this.depnameOne = depnameOne;
	}

	public String getDepnameTwo() {
		return depnameTwo;
	}

	public void setDepnameTwo(String depnameTwo) {
		this.depnameTwo = depnameTwo;
	}

	public Date getEnterBeginTime() {
		return enterBeginTime;
	}

	public void setEnterBeginTime(Date enterBeginTime) {
		this.enterBeginTime = enterBeginTime;
	}

	public String getQuestionnaireId() {
		return questionnaireId;
	}

	public void setQuestionnaireId(String questionnaireId) {
		this.questionnaireId = questionnaireId;
	}

	public String getDutyLevelCode() {
		return dutyLevelCode;
	}

	public void setDutyLevelCode(Object dutyLevelCode) {
		this.dutyLevelCode = dutyLevelCode.toString();
	}

	public Double getZxHour() {
		return zxHour;
	}

	public void setZxHour(Double zxHour) {
		this.zxHour = zxHour;
	}

	public Double getZxZsHour() {
		return zxZsHour;
	}

	public void setZxZsHour(Double zxZsHour) {
		this.zxZsHour = zxZsHour;
	}

	public Double getZtbHour() {
		return ztbHour;
	}

	public void setZtbHour(Double ztbHour) {
		this.ztbHour = ztbHour;
	}

	public Double getZhutbHour() {
		return zhutbHour;
	}

	public void setZhutbHour(Double zhutbHour) {
		this.zhutbHour = zhutbHour;
	}

	public Double getZhongydxHour() {
		return zhongydxHour;
	}

	public void setZhongydxHour(Double zhongydxHour) {
		this.zhongydxHour = zhongydxHour;
	}

	public Double getJwpxHour() {
		return jwpxHour;
	}

	public void setJwpxHour(Double jwpxHour) {
		this.jwpxHour = jwpxHour;
	}

	public Double getQitHour() {
		return qitHour;
	}

	public void setQitHour(Double qitHour) {
		this.qitHour = qitHour;
	}

	public String getHourYear() {
		return hourYear;
	}

	public void setHourYear(Object hourYear) {
		this.hourYear = hourYear.toString();
	}

	public String getDutyLevelName() {
		return dutyLevelName;
	}

	public void setDutyLevelName(String dutyLevelName) {
		this.dutyLevelName = dutyLevelName;
	}

	public int getIsStandard() {
		return isStandard;
	}

	public void setIsStandard(Object isStandard) {
		this.isStandard = Integer.valueOf(isStandard.toString());
	}

	public Integer getShiguan() {
		return shiguan;
	}

	public void setShiguan(Integer shiguan) {
		this.shiguan = shiguan;
	}

	public String getDoubtful() {
		return doubtful;
	}

	public void setDoubtful(String doubtful) {
		this.doubtful = doubtful;
	}

	public Integer getGbState() {
		return gbState;
	}

	public void setGbState(Integer gbState) {
		this.gbState = gbState;
	}

	public String getPaperNum() {
		return paperNum;
	}

	public void setPaperNum(String paperNum) {
		this.paperNum = paperNum;
	}

	public String getSexName() {
		return sexName;
	}

	public void setSexName(String sexName) {
		this.sexName = sexName;
	}

	public String getOfficeholdingDateStr() {
		return officeholdingDateStr;
	}

	public void setOfficeholdingDateStr(String officeholdingDateStr) {
		this.officeholdingDateStr = officeholdingDateStr;
	}

	public Integer getIsRepeatName() {
		return isRepeatName;
	}

	public void setIsRepeatName(Integer isRepeatName) {
		this.isRepeatName = isRepeatName;
	}

	public Date getLatestOperateDate() {
		return latestOperateDate;
	}

	public void setLatestOperateDate(Date latestOperateDate) {
		this.latestOperateDate = latestOperateDate;
	}

	public Date getLastOperateTime() {
		return lastOperateTime;
	}

	public void setLastOperateTime(Date lastOperateTime) {
		this.lastOperateTime = lastOperateTime;
	}

	public Integer getClassCount() {
		return classCount;
	}

	public void setClassCount(BigInteger classCount) {
		this.classCount = classCount.intValue();
	}
	
}
